package com.fjb.plugins.dubbo;

import org.apache.dubbo.common.compiler.support.AdaptiveCompiler;
import org.apache.dubbo.common.extension.factory.AdaptiveExtensionFactory;
import org.apache.dubbo.common.json.JSON;
import org.apache.dubbo.container.Container;
import org.apache.zookeeper.server.ServerStats;

import java.io.IOException;
import java.util.function.Consumer;

/**
 * @Description: java类作用描述
 * @Author: hm
 * @CreateDate: 2020/3/23 23:08
 * @Version: 1.0
 */
public class DubboDemo {

    public static void main(String[] args) throws IOException {

        System.out.println(JSON.json(args));

        // dubbo 自适应编译器
//        AdaptiveCompiler.setDefaultCompiler("");
//
//        // dubbo 自适应扩展工厂
//        AdaptiveExtensionFactory adaptiveExtensionFactory = AdaptiveExtensionFactory.class.cast("");
//
//        // dubbo 的容器
//        Container cast = Container.class.cast("");
//
//        ServerStats.Provider provider = ServerStats.Provider.class.cast("");
//        Consumer consumer = Consumer.class.cast("");


    }

}
